package com.hyp.pay.Dagger.Component;


import com.hyp.pay.Dagger.ContextLife;
import com.hyp.pay.Dagger.Modul.AppModule;
import com.hyp.pay.http.App;
import com.hyp.pay.http.RetrofitHelper;

import javax.inject.Singleton;

import dagger.Component;


/**
 * Created by olj on 2016/12/8.
 */

@Singleton
@Component(modules = AppModule.class)
public interface AppComponent {

    @ContextLife("Application")
    App getContext();  // 提供App的Context

    RetrofitHelper retrofitHelper();  //提供http的帮助类


}
